package frsf.cidisi.exercise.arqueologo.search;

import Interfaz.Index;
import frsf.cidisi.faia.exceptions.PrologConnectorException;
import frsf.cidisi.faia.simulator.SearchBasedAgentSimulator;

public class ArqueologoMain {
    
    public static void main(String[] args) throws PrologConnectorException, InterruptedException {
        ArqueologoEnvironment environment = new ArqueologoEnvironment();
        Index r = new Index(environment.getEnvironmentState().getmundo());
        ArqueologoAgent agent = new ArqueologoAgent(r);
        SearchBasedAgentSimulator simulator = new SearchBasedAgentSimulator(environment, agent);
        simulator.start();
        agent.getArqueologoAgentState().visualizarResultadoFinal();
    }
}
